﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 继承_基本语法
{
    class Program
    {
        static void Main(string[] args)
        {
            B b = new B();
            b.Got();

            C c = new C();
            c.Got();
        }
    }

   

    class B:A
    {

    }

    class C:B
    {

    }
}
